/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Controllers;


import javax.sql.*;
import javax.servlet.http.*;

/**
 *
 * @author
 */
public class CancelController extends HttpServlet{



    public boolean removeBooking(int pNumber, int tripNumber){

        if(true/*passenger with pNumber is head*/){
            //remove booking(tripNumber)
            return true;
        }
        else
            return false;
        
    }

//    public boolean findPassenger(int pNumber, int bookingNumber){
//
//        return true;
//    }
//
//    public boolean findBooking(int bookingNumber){
//
//        return true;
//    }

}
